package com.quasar.hpatient.onInterface;

import com.quasar.hpatient.model.httpmodel.AnotherResult;
import com.quasar.hpatient.model.httpmodel.DataStateResult;
import com.quasar.hpatient.model.medicalmodel.CarouselData;
import com.quasar.hpatient.model.medicalmodel.CollectionListData;
import com.quasar.hpatient.model.medicalmodel.ConsultationBean;

/**
 * author : 许建宏
 * Date: 2017/12/11 0011
 * View:
 */

public interface OnConsultationListener {

    //更改回调
    void onConsultationListSuccess(AnotherResult<ConsultationBean> data);
    //失败回调
    void onError(String msg);
    //界面更新
    void onConsultationRefreshUI();

    //咨询轮播
    void onCarouselSuccess(AnotherResult<CarouselData> dataAnotherResult);

    //我的咨询列表
    void onMyConsultationListSuccess(AnotherResult<CollectionListData> dataAnotherResult);

    //判断该咨询是否收藏
    void onNottoCollectSuccess(DataStateResult dataStateResult);
    //收藏咨询
    void onButtonCollectionSuccess(DataStateResult dataStateResult);
}
